<?php
include '../db/koneksi.php';
$username=$_POST['username'];
$password=$_POST['password'];
$query="select id from mst_user where USER_NAME='$username' and `PASSWORD`='$password'";
$result = mysql_query($query);
$row = mysql_fetch_row($result);
echo is_numeric($row[0]);

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
